package cn.kent.high.juc.queue;

import java.util.concurrent.ArrayBlockingQueue;

/**
 * ArrayBlockingQueue
 * 有界数组
 */
public class ArrayBlockingQueueTest {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> queue = new ArrayBlockingQueue<String>(Integer.MAX_VALUE);
        queue.add("hello");
    }
}
